package com.zkingsoft.rhi.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.zkingsoft.rhi.excel.ExcelColumn;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 不可移动文物表
 * </p>
 *
 * @author xieguo
 * @since 2020-11-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="不可移动文物对象", description="不可移动文物表")
public class ImmovableHistoricalRelics implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ExcelColumn(value = "文物编码（三普）",col = 2)
    @ApiModelProperty(value = "文物编码（三普）")
    private String number;

    @ExcelColumn(value = "行政区域",col = 3)
    @ApiModelProperty(value = "行政区域")
    private String area;

    @ExcelColumn(value = "文物名称",col = 4)
    @ApiModelProperty(value = "文物名称")
    private String name;

    @ExcelColumn(value = "文物类别",col = 5)
    @ApiModelProperty(value = "文物类别")
    private String type;

    @ExcelColumn(value = "文物性质",col = 6)
    @ApiModelProperty(value = "文物性质")
    private String nature;

    @ExcelColumn(value = "文物期段",col = 7)
    @ApiModelProperty(value = "文物期段")
    private String period;

    @ExcelColumn(value = "始建年代",col = 8)
    @ApiModelProperty(value = "始建年代")
    private String foundingYear;

    @ExcelColumn(value = "形成年代",col = 9)
    @ApiModelProperty(value = "形成年代")
    private String formationPeriod;

    @ExcelColumn(value = "复建年代",col = 10)
    @ApiModelProperty(value = "复建年代")
    private String reconstructionAge;

    @ExcelColumn(value = "保护级别",col = 11)
    @ApiModelProperty(value = "保护级别")
    private String level;

    @ExcelColumn(value = "公布批次",col = 12)
    @ApiModelProperty(value = "公布批次")
    private String publicationBatch;

    @ExcelColumn(value = "公布文号",col = 13)
    @ApiModelProperty(value = "公布文号")
    private String publicationNumber;

    @ExcelColumn(value = "公布时间",col = 14)
    @ApiModelProperty(value = "公布时间")
    private String publicationTime;

    @ExcelColumn(value = "产权性质",col = 15)
    @ApiModelProperty(value = "产权性质")
    private String propertyRights;

    @ExcelColumn(value = "地址",col = 16)
    @ApiModelProperty(value = "地址")
    private String address;

    @ExcelColumn(value = "经纬度",col = 17)
    @ApiModelProperty(value = "经纬度")
    private String gpsLocation;

    @ExcelColumn(value = "保存状况",col = 18)
    @ApiModelProperty(value = "保存状况")
    private String preservationStatus;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

}
